import { createRouter, createWebHistory } from 'vue-router'
import Index from "@/views/pages/index"
const routes = [
  {
    name:"index",
    path:"/",
    component:Index
  },
  {
    name:"layout",
    path:"/layout",
    component:()=>import("@/views/pages/layout")
  },
  {
    name:"order",
    path:"/order",
    component:()=>import("@/views/pages/order")
  },
  {
    name:"rule",
    path:"/rule",
    component: () => import("@/views/pages/rules")
  },
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router
